package com.buyingtickets.entity;

import java.util.Date;

/**
 * @author czl
 * @version 1.0
 * @description: TODO
 * @date 2021/6/24 10:15
 */
public class QueryParameter {
    private String yhid;
    private String yhm;
    private String phone;
    private String name;
    private String unitID;
    private String qishi;
    private String zhongdian;
    private String lucheng;
    private String shijian;
    private String siteId;
    private String zhandian;
    private String sheng;
    private String shi;
    private String yonghu;
    private String chengke;
    private String dingdanhao;
    private String checi;
    private String facheriqi;
    private Integer page = 1;//默认第一页
    private Integer rows = 3;//每页显示10条
    private Integer xiaPage;
    private Integer shangPage;
    private Integer pageCount;
    private Integer start;//偏移量
    private Integer count;//总条数
    private Integer startId;//起始站ID
    private Integer destinationId;//终点站ID
    private String departureDate;//出发日期
    private String typeName;//类型名称
    private int trainNumberId;//车次ID
    private int seatId;//座位ID
    private int startOrder;//起点站点顺序
    private int destinationOrder;//终点站点顺序
    private int whether;//是否出票
    private String type;//座位类型
    private char scol;//座位位置

    public QueryParameter() {
    }

    public QueryParameter(String yhid, String yhm, String phone, String name, String unitID, String qishi, String zhongdian, String lucheng, String shijian, String siteId, String zhandian, String sheng, String shi, String yonghu, String chengke, String dingdanhao, String checi, String facheriqi, Integer page, Integer rows, Integer xiaPage, Integer shangPage, Integer pageCount, Integer start, Integer count, Integer startId, Integer destinationId, String departureDate, String typeName, int trainNumberId, int seatId, int startOrder, int destinationOrder, int whether, String type, char scol) {
        this.yhid = yhid;
        this.yhm = yhm;
        this.phone = phone;
        this.name = name;
        this.unitID = unitID;
        this.qishi = qishi;
        this.zhongdian = zhongdian;
        this.lucheng = lucheng;
        this.shijian = shijian;
        this.siteId = siteId;
        this.zhandian = zhandian;
        this.sheng = sheng;
        this.shi = shi;
        this.yonghu = yonghu;
        this.chengke = chengke;
        this.dingdanhao = dingdanhao;
        this.checi = checi;
        this.facheriqi = facheriqi;
        this.page = page;
        this.rows = rows;
        this.xiaPage = xiaPage;
        this.shangPage = shangPage;
        this.pageCount = pageCount;
        this.start = start;
        this.count = count;
        this.startId = startId;
        this.destinationId = destinationId;
        this.departureDate = departureDate;
        this.typeName = typeName;
        this.trainNumberId = trainNumberId;
        this.seatId = seatId;
        this.startOrder = startOrder;
        this.destinationOrder = destinationOrder;
        this.whether = whether;
        this.type = type;
        this.scol = scol;
    }

    @Override
    public String toString() {
        return "QueryParameter{" +
                "yhid='" + yhid + '\'' +
                ", yhm='" + yhm + '\'' +
                ", phone='" + phone + '\'' +
                ", name='" + name + '\'' +
                ", unitID='" + unitID + '\'' +
                ", qishi='" + qishi + '\'' +
                ", zhongdian='" + zhongdian + '\'' +
                ", lucheng='" + lucheng + '\'' +
                ", shijian='" + shijian + '\'' +
                ", siteId='" + siteId + '\'' +
                ", zhandian='" + zhandian + '\'' +
                ", sheng='" + sheng + '\'' +
                ", shi='" + shi + '\'' +
                ", yonghu='" + yonghu + '\'' +
                ", chengke='" + chengke + '\'' +
                ", dingdanhao='" + dingdanhao + '\'' +
                ", checi='" + checi + '\'' +
                ", facheriqi='" + facheriqi + '\'' +
                ", page=" + page +
                ", rows=" + rows +
                ", xiaPage=" + xiaPage +
                ", shangPage=" + shangPage +
                ", pageCount=" + pageCount +
                ", start=" + start +
                ", count=" + count +
                ", startId=" + startId +
                ", destinationId=" + destinationId +
                ", departureDate='" + departureDate + '\'' +
                ", typeName='" + typeName + '\'' +
                ", trainNumberId=" + trainNumberId +
                ", seatId=" + seatId +
                ", startOrder=" + startOrder +
                ", destinationOrder=" + destinationOrder +
                ", whether=" + whether +
                ", type='" + type + '\'' +
                ", scol=" + scol +
                '}';
    }

    public String getYhid() {
        return yhid;
    }

    public void setYhid(String yhid) {
        this.yhid = yhid;
    }

    public String getYhm() {
        return yhm;
    }

    public void setYhm(String yhm) {
        this.yhm = yhm;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUnitID() {
        return unitID;
    }

    public void setUnitID(String unitID) {
        this.unitID = unitID;
    }

    public String getQishi() {
        return qishi;
    }

    public void setQishi(String qishi) {
        this.qishi = qishi;
    }

    public String getZhongdian() {
        return zhongdian;
    }

    public void setZhongdian(String zhongdian) {
        this.zhongdian = zhongdian;
    }

    public String getLucheng() {
        return lucheng;
    }

    public void setLucheng(String lucheng) {
        this.lucheng = lucheng;
    }

    public String getShijian() {
        return shijian;
    }

    public void setShijian(String shijian) {
        this.shijian = shijian;
    }

    public String getSiteId() {
        return siteId;
    }

    public void setSiteId(String siteId) {
        this.siteId = siteId;
    }

    public String getZhandian() {
        return zhandian;
    }

    public void setZhandian(String zhandian) {
        this.zhandian = zhandian;
    }

    public String getSheng() {
        return sheng;
    }

    public void setSheng(String sheng) {
        this.sheng = sheng;
    }

    public String getShi() {
        return shi;
    }

    public void setShi(String shi) {
        this.shi = shi;
    }

    public String getYonghu() {
        return yonghu;
    }

    public void setYonghu(String yonghu) {
        this.yonghu = yonghu;
    }

    public String getChengke() {
        return chengke;
    }

    public void setChengke(String chengke) {
        this.chengke = chengke;
    }

    public String getDingdanhao() {
        return dingdanhao;
    }

    public void setDingdanhao(String dingdanhao) {
        this.dingdanhao = dingdanhao;
    }

    public String getCheci() {
        return checi;
    }

    public void setCheci(String checi) {
        this.checi = checi;
    }

    public String getFacheriqi() {
        return facheriqi;
    }

    public void setFacheriqi(String facheriqi) {
        this.facheriqi = facheriqi;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getRows() {
        return rows;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public Integer getXiaPage() {
        return xiaPage;
    }

    public void setXiaPage(Integer xiaPage) {
        this.xiaPage = xiaPage;
    }

    public Integer getShangPage() {
        return shangPage;
    }

    public void setShangPage(Integer shangPage) {
        this.shangPage = shangPage;
    }

    public Integer getPageCount() {
        return pageCount;
    }

    public void setPageCount(Integer pageCount) {
        this.pageCount = pageCount;
    }

    public Integer getStart() {
        return start;
    }

    public void setStart(Integer start) {
        this.start = start;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Integer getStartId() {
        return startId;
    }

    public void setStartId(Integer startId) {
        this.startId = startId;
    }

    public Integer getDestinationId() {
        return destinationId;
    }

    public void setDestinationId(Integer destinationId) {
        this.destinationId = destinationId;
    }

    public String getDepartureDate() {
        return departureDate;
    }

    public void setDepartureDate(String departureDate) {
        this.departureDate = departureDate;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public int getTrainNumberId() {
        return trainNumberId;
    }

    public void setTrainNumberId(int trainNumberId) {
        this.trainNumberId = trainNumberId;
    }

    public int getSeatId() {
        return seatId;
    }

    public void setSeatId(int seatId) {
        this.seatId = seatId;
    }

    public int getStartOrder() {
        return startOrder;
    }

    public void setStartOrder(int startOrder) {
        this.startOrder = startOrder;
    }

    public int getDestinationOrder() {
        return destinationOrder;
    }

    public void setDestinationOrder(int destinationOrder) {
        this.destinationOrder = destinationOrder;
    }

    public int getWhether() {
        return whether;
    }

    public void setWhether(int whether) {
        this.whether = whether;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public char getScol() {
        return scol;
    }

    public void setScol(char scol) {
        this.scol = scol;
    }
}
